package cn.yougou.vo;

import cn.yougou.pojo.YgCategory;

import java.io.Serializable;
import java.util.Arrays;
import java.util.Date;
import java.util.List;

/**
 * @author: DELL
 * @date: 2020/12/20 11:46
 * @description:
 */
public class YgCouponsSelAllVo implements Serializable {
    private Integer id;//优惠卷id
    private String coupontitile;//优惠卷名称
    private String couponrulestitle;//介绍
    private String couponrules;//优惠类型
    private String couponrulesjudge;//优惠限制
    private Double couponmoney;//优惠金额
    private Integer repetitionget;//每人限领
    private String scope;//使用范围
    private String getrules;//优惠卷类型
    private Integer couponscount;//优惠卷数量
    private Integer couponsTime;//过期时间
    private String stopdate;//最终过期时间
    private Integer state;//状态
    private Integer [] LinkcouponCategoryList;//分类列表 id
    private Integer [] LinkgoodsList;//商品列表 id
    private Integer []  forbidScope;//禁止范围

    public  Integer [] getCouponCategoryList() {
        return LinkcouponCategoryList;
    }

    public YgCouponsSelAllVo(Integer id, String coupontitile, String couponrulestitle, String couponrules, String couponrulesjudge, Double couponmoney, Integer repetitionget, String scope, String getrules, Integer couponscount, Integer couponsTime, String stopdate, Integer state,  Integer [] LinkcouponCategoryList,  Integer [] LinkgoodsList,Integer []  forbidScope) {
        this.id = id;
        this.coupontitile = coupontitile;
        this.couponrulestitle = couponrulestitle;
        this.couponrules = couponrules;
        this.couponrulesjudge = couponrulesjudge;
        this.couponmoney = couponmoney;
        this.repetitionget = repetitionget;
        this.scope = scope;
        this.getrules = getrules;
        this.couponscount = couponscount;
        this.couponsTime = couponsTime;
        this.stopdate = stopdate;
        this.state = state;
        this.LinkcouponCategoryList = LinkcouponCategoryList;
        this.LinkgoodsList = LinkgoodsList;
        this.forbidScope=forbidScope;
    }

    public Integer[] getForbidScope() {
        return forbidScope;
    }

    public void setForbidScope(Integer[] forbidScope) {
        this.forbidScope = forbidScope;
    }

    public void setCouponCategoryList(Integer [] couponCategoryList) {
        this.LinkcouponCategoryList = couponCategoryList;
    }

    public Integer[] getLinkcouponCategoryList() {
        return LinkcouponCategoryList;
    }

    public void setLinkcouponCategoryList(Integer[] linkcouponCategoryList) {
        LinkcouponCategoryList = linkcouponCategoryList;
    }

    public Integer[] getLinkgoodsList() {
        return LinkgoodsList;
    }

    public void setLinkgoodsList(Integer[] linkgoodsList) {
        LinkgoodsList = linkgoodsList;
    }

    public  Integer [] getCouponGoodsList() {
        return LinkgoodsList;
    }

    public void setCouponGoodsList( Integer [] couponGoodsList) {
        this.LinkgoodsList = couponGoodsList;
    }

    public YgCouponsSelAllVo() {
    }

    public YgCouponsSelAllVo(Integer id, String coupontitile, String couponrulestitle, String couponrules, String couponrulesjudge, Double couponmoney, Integer repetitionget, String scope, String getrules, Integer couponscount, Integer couponsTime, String stopdate, Integer state) {
        this.id = id;
        this.coupontitile = coupontitile;
        this.couponrulestitle = couponrulestitle;
        this.couponrules = couponrules;
        this.couponrulesjudge = couponrulesjudge;
        this.couponmoney = couponmoney;
        this.repetitionget = repetitionget;
        this.scope = scope;
        this.getrules = getrules;
        this.couponscount = couponscount;
        this.couponsTime = couponsTime;
        this.stopdate = stopdate;
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCoupontitile() {
        return coupontitile;
    }

    public void setCoupontitile(String coupontitile) {
        this.coupontitile = coupontitile;
    }

    public String getCouponrulestitle() {
        return couponrulestitle;
    }

    public void setCouponrulestitle(String couponrulestitle) {
        this.couponrulestitle = couponrulestitle;
    }

    public String getCouponrules() {
        return couponrules;
    }

    public void setCouponrules(String couponrules) {
        this.couponrules = couponrules;
    }

    public String getCouponrulesjudge() {
        return couponrulesjudge;
    }

    public void setCouponrulesjudge(String couponrulesjudge) {
        this.couponrulesjudge = couponrulesjudge;
    }

    public Double getCouponmoney() {
        return couponmoney;
    }

    public void setCouponmoney(Double couponmoney) {
        this.couponmoney = couponmoney;
    }

    public Integer getRepetitionget() {
        return repetitionget;
    }

    public void setRepetitionget(Integer repetitionget) {
        this.repetitionget = repetitionget;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getGetrules() {
        return getrules;
    }

    public void setGetrules(String getrules) {
        this.getrules = getrules;
    }

    public Integer getCouponscount() {
        return couponscount;
    }

    public void setCouponscount(Integer couponscount) {
        this.couponscount = couponscount;
    }

    public Integer getCouponsTime() {
        return couponsTime;
    }

    public void setCouponsTime(Integer couponsTime) {
        this.couponsTime = couponsTime;
    }

    public String getStopdate() {
        return stopdate;
    }

    public void setStopdate(String stopdate) {
        this.stopdate = stopdate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "YgCouponsSelAllVo{" +
                "id=" + id +
                ", coupontitile='" + coupontitile + '\'' +
                ", couponrulestitle='" + couponrulestitle + '\'' +
                ", couponrules='" + couponrules + '\'' +
                ", couponrulesjudge='" + couponrulesjudge + '\'' +
                ", couponmoney=" + couponmoney +
                ", repetitionget=" + repetitionget +
                ", scope='" + scope + '\'' +
                ", getrules='" + getrules + '\'' +
                ", couponscount=" + couponscount +
                ", couponsTime=" + couponsTime +
                ", stopdate='" + stopdate + '\'' +
                ", state=" + state +
                ", LinkcouponCategoryList=" + Arrays.toString(LinkcouponCategoryList) +
                ", LinkgoodsList=" + Arrays.toString(LinkgoodsList) +
                '}';
    }
}
